package cn.wolfcode.rbac.query;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class QueryObject {
	private Integer currentPage=1;
	private Integer pageSize=3;
	public Integer getStart(){
		return (currentPage-1)*pageSize;
	}
}
